<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h2>这是一个koa-art-template模板引擎</h2>

    <h4><%= list.name %></h4>

    <h4><%= 1 + 2 %></h4>

    <%- list.label %>

    <br />
    <br />
    <hr />
    <br />
    <br />

    <h4>{{ list.name }}</h4>


    <h4>{{ 1 + 2 }}</h4>


    {{@ list.label }}


    {{ if list.num > 0.5 }}
        <h4>大于0.5</h4>
    {{ else }}
        <h4>小于等于0.5</h4>
    {{ /if }}


    <ul>
        {{ each list.arr }}
            <li>{{ $index }} - {{ $value }}</li>
        {{ /each }}
    </ul>


    {{ include './public/header.html' }}
</body>
</html>